home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung / Power-Programmierung (Tewi)(1994).iso / batch / library / batutl2 / seterror.doc < prev    next >
Text File  |  1986-08-13  |  3KB  |  55 lines

  1.           SETERROR-sets the ERRORLEVEL for DOS batch file processing
  2.                by Tony Alan Rhea 10/24/83
  3.  
  4.        This program accepts one command line argument and sets the
  5.        DOS ERRORLEVEL to that argument.  Currently, this program has
  6.        a limit of 9 for the errorlevel, but apparently DOS has a a
  7.        much higher limit (FFh -- the code is returned in a half-reg).
  8.        An invalid or missing argument gives an error message and an
  9.        errorlevel 0.  This program requires DOS 2.0.
  10.  
  11.        Usage:
  12.              SETERROR n
  13.        where n is between 0 and 9.
  14.  
  15.  
  16.        Copyright (C) 1983  Tony Alan Rhea
  17.        This program may be copied and distributed for personal use
  18.        but not for profit provided this notice is included.  Author makes
  19.        no warranty, expressed or implied, as to the correct nature and
  20.        operation of this software.
  21.  
  22.        You may make and distribute as many copies of this program as you wish
  23.        for your PERSONAL use only ( NOT for business purposes, please! ).
  24.        Feel free to modify, mutilate, or adulterate this program.  If you come
  25.        up with an bug or improvement, please let me know by writing me at this
  26.        address:
  27.                Tony A. Rhea
  28.                1030 Ivy Lane
  29.                Cary, NC  27511
  30.        If you do modify it, please give me credit in the program.  This helps
  31.        to preserve my ego and increase my fame (but, unfortunately, NOT my
  32.        financial status).  Also, I would appreciate a copy of the modified
  33.        version, preferably on disk (I'll be happy to return your diskette).
  34.  
  35.        If you like this program ( or HATE it ), please let me know.  Drop me
  36.        a line at the address given above.
  37.  
  38.        This program has been submitted for publication in PC-WORLD magazine.
  39.  
  40.  
  41.          Revision history:
  42.             rev 1.0  10/24/83                         { original release }
  43.  
  44.  
  45.         This disk copy was originally provided by "The Public Library",
  46.         the software library of the Houston Area League of PC Users.
  47.         Disks in the Public Libray are updated monthly.  Check with us
  48.         for the latest versions of all programs.
  49.  
  50.         Programs are available from the Public Library at $2 per disk
  51.         on user-provided disks.  To get a listing of the disks in the
  52.         Public Library, send a self-addressed, stamped envelope to
  53.  
  54.         Nelson Ford,  P.O.Box 35705, Houston, TX 77235-5705
  55.